import Layout from '@/layout/index'
export default [
  {
    path: '/talent',
    component: Layout,
    redirect: 'noredirect',
    hidden: false,
    alwaysShow: true,
    meta: {
      icon: 'talent',
      noCache: true,
      title: '人才资源小区'
    },
    children: [
      {
        path: 'talentPool',
        component: (resolve) => require(['@/views/talent/talentPool'], resolve),
        name: 'TalentPool',
        meta: { title: '人才资源库', icon: 'talentPool', noCache: true }
      },
      {
        path: 'antStar',
        component: (resolve) => require(['@/views/talent/antStar'], resolve),
        name: 'AntStar',
        meta: { title: '蚂蚁服务星站', icon: 'antStar', noCache: true }
      },
      {
        path: 'talentWork',
        component: (resolve) => require(['@/views/talent/talentWork'], resolve),
        name: 'TalentWork',
        meta: { title: '人才工作活动', icon: 'talentWork', noCache: true }
      },
      {
        path: 'training',
        component: (resolve) => require(['@/views/talent/training'], resolve),
        name: 'Training',
        meta: { title: '人才需求', icon: 'training', noCache: true }
      },
      {
        path: 'talentCenter',
        component: (resolve) => require(['@/views/talent/talentCenter'], resolve),
        name: 'TalentCenter',
        meta: { title: '人才中心审核', icon: 'talentCenter', noCache: true }
      }
    ]
  }
]
